package models.core;

import models.GenericAttr;
import play.data.validation.Constraints;
import play.db.ebean.Model;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.ManyToOne;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;

/**
 * Created by IntelliJ IDEA.
 * User: hungdq
 * Date: 4/30/12
 * Time: 4:27 PM
 * To change this template use File | Settings | File Templates.
 */
@Entity
public class BaseAttr extends GipxyModel {
    @ManyToOne
    public BaseAttrSpec spec;
    @ManyToOne
    public BaseAttrValue value;

    public static Finder<Long,BaseAttr> find = new Finder<Long,BaseAttr>(Long.class, BaseAttr.class);
}
